voting logic

阈值逻辑